package com.atguigu.mapper;

import com.atguigu.base.BaseMapper;
import com.atguigu.entity.House;
import com.atguigu.entity.vo.HouseQueryVo;
import com.atguigu.entity.vo.HouseVo;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: 翟文海
 * @Date: 2022/10/28/028 23:16
 * @Version: 1.0
 * @Description:
 **/
public interface HouseMapper extends BaseMapper<House> {
    List<House> getByCommunityId(Long id);

    void updateStatusById(@Param("id") Long id, @Param("status") Integer status);

    Page<HouseVo> findListPage(HouseQueryVo houseQueryVo);

}
